#pragma once

#include <string>
using std::wstring;
#include "TextMetrics.h"

class AlignStrategy
{
public:
	virtual bool IsRowLongerThanScreen(wstring& str, int formattingLength);
	virtual int FindCuttingPoint(wstring& str, int formattingLength) = 0;
public:
	AlignStrategy(TextMetrics* tm);
protected:
	TextMetrics* tm;
protected:
	int FindCuttingPointSub(wstring& str, int formattingWidth, int* cuttingPointCandidate);
};
